package com.meilai.project.entity.finance.payment;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 付款单
 * </p>
 *
 * @author xchen
 * @since 2022-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("payment_apply")
@ApiModel(value="PaymentApply对象", description="付款单")
public class PaymentApply extends FlowBusinessDataSuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "事由", required = true)
    private String reason;

    @ApiModelProperty(value = "申请时附件", required = true)
    private String apply_attach_file;

    @ApiModelProperty(value = "收款方")
    private String receiver;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "是否核销")
    private Integer write_off;


    public static final String RECEIVER = "receiver";

    public static final String AMOUNT = "amount";

    public static final String WRITE_OFF = "write_off";

}
